#ifndef SONGVIEW_H
#define SONGVIEW_H

#include <string>
#include "editorview.h"
class SongItem;

class SongView : public EditorView {
public:
     SongView(App *pApp, Rect rect, Font *pFont);
     void setRect(Rect rect);
     void paint(bool all);
     void keyDown(int keycode, int modifiers, int unichar);
     void update();

private:
     void paintSong(Rect rect);
     void paintTrack(int col, Rect rect);
     void paintItem(SongItem *pItem, Rect rect);
     void decRow();
     void incRow();
};

#endif
